<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<jsp:directive.page language="java"
	contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" />
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<%@ include file="/commons/includes/head.jspf"%>
		<title><fmt:message key="page.title.other" /></title>
	</head>
	<body>
		<%@ include file="/commons/includes/header.jspf"%>
		<table align="center" style="width: 1000px; margin-top: 5px;">
			<tr>
				<td align="left" height="24" colspan="2">
					&nbsp;&nbsp;
					<img height="18" width="12" align="absMiddle"
						src="<c:url value="/commons/images/local_ico.jpg" />">
						&nbsp;&nbsp;当前位置: <a href="<c:url value="/index.jsp" />">首页</a>&nbsp;&nbsp;&gt;&gt;&gt;&nbsp;&nbsp;
						<a
							href="<c:url value="/consultation/consEntpList.shtml?ec_f_state=REPLIED" />">咨询回复</a>&nbsp;&nbsp;&gt;&gt;&gt;&nbsp;&nbsp;
						<c:if test="${param.ec_f_state eq 'REPLIED'}">
							<a
								href="<c:url value="/consultation/consEntpList.shtml?ec_f_state=REPLIED" />">已回复咨询单</a>
						</c:if>
						<c:if test="${param.ec_f_exstate eq 'REPLIED'}">
							<a
								href="<c:url value="/consultation/consEntpList.shtml?ec_f_exstate=REPLIED" />">未回复咨询单</a>
						</c:if>
				</td>
			</tr>
			<tr>
				<td valign="top" width="250">
					<table class="catalogTable topTable">
						<thead>
							<tr>
								<td>
									咨询回复
								</td>
							</tr>
						</thead>
						<tbody class="subCatalog">
							<tr>
								<td
									<c:if test="${param.ec_f_state eq 'REPLIED'}"> style="font-weight: bold;"</c:if>>
									<a href="consEntpList.shtml?ec_f_state=REPLIED">已回复咨询单</a>
								</td>
							</tr>
							<tr>
								<td
									<c:if test="${param.ec_f_exstate eq 'REPLIED'}"> style="font-weight: bold;"</c:if>>
									<a href="consEntpList.shtml?ec_f_exstate=REPLIED">未回复咨询单</a>
								</td>
							</tr>
							<tr>
								<td>
									<a href="consEntpEdit.shtml">新增咨询单</a>
								</td>
							</tr>
						</tbody>
					</table>
					<%@ include file="/commons/includes/search.jspf"%>
				</td>
				<td valign="top" width="750">
					<table width="750">
						<tr>
							<td class="infoNavbgLeft" />
							<td class="infoNavbgRight" />
						</tr>
					</table>
					<table class="infoTable" style="width: 750px; border: 0;">
						<c:if test="${empty consultationList}">
							<tr>
								<td align="left">
									未找到记录...
								</td>
							</tr>
						</c:if>
						<c:if test="${not empty consultationList}">
							<c:forEach items="${consultationList}" var="consultation">
								<c:url var="openUrl"
									value="/consultation/consEntpEdit.shtml?id=${consultation.id}" />
								<tr>
									<td class="indexShowShort" align="left">
										<a title="${consultation.title}" href="${openUrl}"><c:out value="${consultation.title}" /></a>
									</td>
									<td width="220" align="center">
										<a title="${consultation.title}" href="${openUrl}"><fmt:formatDate
												value="${consultation.submitTime}" pattern="yyyy-MM-dd HH:mm:ss" />
										</a>
									</td>
									<td width="120" align="center">
										<a title="${consultation.title}" href="${openUrl}">${userMap[consultation.enterprise].name}</a>
									</td>
								</tr>
							</c:forEach>
							<tr>
								<td colspan="3" align="right">
									${pageStr}
								</td>
							</tr>
						</c:if>
					</table>
				</td>
			</tr>
		</table>
		<%@ include file="/commons/includes/footer.jspf"%>
	</body>
</html>